var DataTypes = require("sequelize").DataTypes;
var _admin = require("./admin");
var _agency = require("./agency");
var _code = require("./code");
var _design = require("./design");
var _middle = require("./middle");
var _relation = require("./relation");
var _scrip_img = require("./scrip_img");
var _scrip = require("./scrip");
var _swiper = require("./swiper");
var _user = require("./user");

function initModels(sequelize) {
  var admin = _admin(sequelize, DataTypes);
  var agency = _agency(sequelize, DataTypes);
  var code = _code(sequelize, DataTypes);
  var design = _design(sequelize, DataTypes);
  var middle = _middle(sequelize, DataTypes);
  var relation = _relation(sequelize, DataTypes);
  var scrip_img = _scrip_img(sequelize, DataTypes);
  var scrip = _scrip(sequelize, DataTypes);
  var swiper = _swiper(sequelize, DataTypes);
  var user = _user(sequelize, DataTypes);


  return {
    admin,
    agency,
    code,
    design,
    middle,
    relation,
    scrip_img,
    scrip,
    swiper,
    user,
  };
}
module.exports = initModels;
module.exports.initModels = initModels;
module.exports.default = initModels;
